﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YAPSAR.Domain
{
    public class ProcessInstance
    {
        public virtual int Id { get; set; }

        //public virtual Project Project { get; set; }
        public virtual String WindowTitle { get; set; }
        //public virtual String ExecutableFilePath { get; set; }

        public virtual Process Process { get; set; }

        public virtual IList<ProcessTag> Tags { get; set; }
        public virtual IList<TypedWord> TypedWords { get; set; }

        public ProcessInstance()
        {
            this.TypedWords = new List<TypedWord>();
        }

        public override string ToString()
        {
            return "ProcessInstance: " + this.Id + " with title '" + this.WindowTitle + "'";
        }
    }
}
